package com.java.entity;

/**
* @ClassName: Order
* @Description: 预约实体类
* @author ChenJiaLu
* @date 2023年12月29日 上午10:49:47
*
 */
public class Order {
	// 主键
	private int id;

	// 医生id
	private int doctorid;
	//医生名称
	private String doctorName;

	// 患者id
	private int patientid;
	//患者名称
	private String patientName;

	// 预约时间段
	private String timeslot;
	

	public Order(int doctorid, int patientid, String timeslot) {
		super();
		this.doctorid = doctorid;
		this.patientid = patientid;
		this.timeslot = timeslot;
	}

	public Order() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getDoctorid() {
		return doctorid;
	}

	public void setDoctorid(int doctorid) {
		this.doctorid = doctorid;
	}

	public int getPatientid() {
		return patientid;
	}

	public void setPatientid(int patientid) {
		this.patientid = patientid;
	}

	public String getTimeslot() {
		return timeslot;
	}

	public void setTimeslot(String timeslot) {
		this.timeslot = timeslot;
	}

	public String getDoctorName() {
		return doctorName;
	}

	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}

	public String getPatientName() {
		return patientName;
	}

	public void setPatientName(String patientName) {
		this.patientName = patientName;
	}
	
}
